package com.hxzy.controller.user.req;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author wy
 * @Description TODO
 * @Date 2023/8/27 14:05
 * @Version 1.0
 */
@Getter
@Setter
@ToString
public class UserEditReq {

    @NotNull(message = "主键不能为空")
    private Long id;

    @NotBlank(message = "性别不能为空")
    private String sex;

    @NotNull(message = "年龄不能为空")
    private Long age;

    @NotBlank(message = "头像不能为空")
    private String portrait;

    /**
     *  0正常  1删除
     */
    @NotBlank(message = "状态不能为空")
    private String status;
}
